    		<?php foreach ($messages as $message): ?>

			<span class="message success"><?php echo $message ?></span>

		<?php endforeach ?>